// 菜单配置

const menuConfig = [
    {
        path: '/login',
        name: 'login',
        label:'登录',
        icon:'LoginOutlined',
        url:'/login'
    },
    {
        path: '/home',
        name: 'home',
        label:'首页',
        icon:'HomeOutlined',
        url:'/home/index'
    },
    {
        path: '/mall',
        name: 'mall',
        label:'商城管理',
        icon:'ShoppingCartOutlined',
        url:'/mall/index'
    },
    {
        path: '/user',
        name: 'user',
        label:'用户管理',
        icon:'UserOutlined',
        url:'/user/index'
    },
    {
        path: '/other',
        name: 'other',
        label:'其他管理',
        icon:'SettingOutlined',
        children:[
            {
                path: '/other/pageOne',
                name: 'pageOne',
                label:'页面1',
                icon:'SettingOutlined',
                url:'/other/pageOne'
            },
            {
                path: '/other/pageTwo',
                name: 'pageTwo',
                label:'页面2',
                icon:'SettingOutlined',
                url:'/other/pageTwo'
            }
        ]
    },
    {
        path: '/system',
        name: 'system',
        label:'系统管理',
        icon:'SettingOutlined',
        children:[
            {
                path: '/system/role',
                name: 'role',
                label:'角色管理',
                icon:'SettingOutlined',
                url:'/system/role'
            },
            {
                path: '/system/path',
                name: 'path',
                label:'路由管理',
                icon:'SettingOutlined',
                url:'/system/path'
            }
        ]
    }
];

export default menuConfig;